home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group97b.txt
/
000064_icon-group-sender _Tue Sep 16 07:59:59 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
2KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with SMTP id HAA07303
for <icon-group-addresses@cheltenham.CS.Arizona.EDU>; Tue, 16 Sep 1997 07:59:59 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA02966; Tue, 16 Sep 1997 07:59:58 -0700
To: icon-group@cs.arizona.edu
Date: Tue, 16 Sep 1997 13:48:04 +1000
From: Stuart.Robinson@anu.edu.au (Stuart Robinson)
Message-Id: <Stuart.Robinson-1609971348050001@asianstmg-221.anu.edu.au>
Organization: ANU
Sender: icon-group-request@cs.arizona.edu
References: <Stuart.Robinson-0209971451430001@asianstmg-221.anu.edu.au>, <340CAD3F.3446@Japan.NCR.com>
Subject: Re: GREP
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
I'm sorry I never replied to your posting, Eric. To give you an idea of
the kind of searching, I'm doing, let me use an example from English,
since everyone who can read this must speak it. (Most of my text searches
are actually on Tzotzil, a Mayan languages spoken in Mexico.)
Let's say I'm looking for relative clauses. I could just look for "who",
"that", or "which", but I'd get a lot of things that aren't relative
clauses. For example,
Who went to the store?
That man is a jerk.
I saw that your arm was broken.
Which store sells lolly pops?
So I need way of looking for patterns and I need to be able to do it on
multiple files. That's where BBEdit's multi-file and GREP search
capabilities come in handy. I can use regexes like the following to find
relative clauses:
the[A-Za-z' ](that|who|((, )?which))
(I think that would work, although I haven't tested it.) I don't know of
a quick and dirty way of doing the same with Icon (especially since I
don't know off-hand how to get ProIcon--for the Mac--to use multiple files
as input).
Cheers,
Stuart
In article <340CAD3F.3446@Japan.NCR.com>, Eric.Hildum@Japan.NCR.com wrote:
> That must be a very complicated search pattern if programing in Icon is
> not worth the time! Would you post some examples? Perhaps the group
> could give you some suggestions.
--
Stuart Robinson <Stuart.Robinson@no_spam!anu.edu.au>
The Australian National University
*TO REPLY, REMOVE "no_spam!" FROM E-MAIL ADDRESS GIVEN ABOVE